<template>
  <n-layout>
    <n-layout-header>
      <header-communal/>
    </n-layout-header>
    <n-layout-content>
      <n-button @click="toPage('home')">返回</n-button>
    </n-layout-content>
  </n-layout>
</template>

<script>
import {inject} from "vue";
import headerCommunal from "@/components/communal/header-communal.vue";
export default {
  name: "TeamView",
  components:{
    headerCommunal
  },
  setup(){
    const {toPage} =  inject('toPage')
    return {
      toPage
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
